@import '../../color.scss';
.completetpl{
    .block-str{
        background: #fff;
        .RankEditor{
            cursor: pointer;
            margin: 5px 5px 0 5px;
            border: 1px dashed #fff;
            &:hover {
                border-color: $main;
                background: $bg1;
            }
        }
    }
    .close-block{
        position: absolute;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        color: #fff;
        background: $main;
        top: 60px;
        z-index: 200;
        right: 0;
    }
    .tpls{
        margin: 10px;
        li{
            height: 240px;
            border-bottom: 1px solid $border;
            padding-bottom: 10px;
            text-align: center;
            position: relative;
            .btns{
                display: none;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 230px;
                background: rgba(0,0,0,.3);
                color: #fff;
                a{
                    position: relative;
                    top: 90px;
                    margin: 10px;
                }
            }
            &:hover .btns{
                display: block;
            }
            img{
                width: 100%;
                height: 100%;
            }
        }
    }
}